import unittest
from ejer1pract7 import *
 
class CuadraticaTest(unittest.TestCase):

	def testRaizes(self):
		c1=Cuadratica(5,4,-1)
		c1.bascaraABC()	
		self.assertEqual(c1.getX1(),0.2) 
		self.assertEqual(c1.getX2(),-1.0)
		

if __name__=="__main__":
    unittest.main()

